/// Creator:      gaoruishan
/// CreatDate:    2025-09-01
/// Description:  患者交接记录表
Class Nur.MNISV3.PHOFlow Extends %Persistent [ ClassType = persistent, Not ProcedureBlock ]
{

Relationship PHOStep As Nur.MNISV3.PHOStep [ Cardinality = children, Inverse = PHOFlow ];

Property RegNo As %String(TRUNCATE = 1);

Property PHOType As %String(TRUNCATE = 1);

Property EndFlag As %String(TRUNCATE = 1);

Property RecDate As %Date;

Property RecTime As %Time;

Property RecUser As %String(TRUNCATE = 1);

Index RegNo On RegNo;

Storage Default
{
<Data name="PHOFlowDefaultData">
<Value name="1">
<Value>%%CLASSNAME</Value>
</Value>
<Value name="2">
<Value>RegNo</Value>
</Value>
<Value name="3">
<Value>PHOType</Value>
</Value>
<Value name="4">
<Value>EndFlag</Value>
</Value>
<Value name="5">
<Value>RecDate</Value>
</Value>
<Value name="6">
<Value>RecTime</Value>
</Value>
<Value name="7">
<Value>RecUser</Value>
</Value>
</Data>
<DataLocation>^Nur.MNISV3.PHOFlowD</DataLocation>
<DefaultData>PHOFlowDefaultData</DefaultData>
<IdLocation>^Nur.MNISV3.PHOFlowD</IdLocation>
<IndexLocation>^Nur.MNISV3.PHOFlowI</IndexLocation>
<StreamLocation>^Nur.MNISV3.PHOFlowS</StreamLocation>
<Type>%Storage.Persistent</Type>
}

}
